import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 获取公司信息
export function getCompanyInfo() {
  return request({
    url: '/company/info',
    method: 'get'
  })
}

// 修改公司
export function updateCompany(data) {
  return request({
    url: '/company/set',
    method: 'post',
    data: data
  })
}

// 微信二维码上传
export function uploadWechatImg(data) {
  return request({
    url: '/company/uploadWechatImg',
    method: 'post',
    data: data
  })
}

// 企业logo上传
export function uploadLogoImg(data) {
  return request({
    url: '/company/uploadLogoImg',
    method: 'post',
    data: data
  })
}

// 企业宣传视频上传
export function uploadVideo(data) {
  return request({
    url: '/company/uploadVideo',
    method: 'post',
    data: data
  })
}
